package lab02.test06;

/**
 * Created by mac on 2017/10/15.
 */
public class Ladder {

    //属性：上底，下底，高，面积。

    public double a;
    public double b;
    public double h;
    public double Area;

    //行为；计算面积

    public double getArea() {
        return (a+b)*h/2;
    }


}
